import React from 'react'
import { Tabs } from 'antd';
import UserAll from '@/pages/user/userAll';

type Props = {}

const Index = (props: Props) => {
  const items = [
    {
      key: '1',
      label: `全部`,
      children: <UserAll />,
    },
    {
      key: '2',
      label: `微信用户`,
      children: `Content of Tab Pane 2`,
    },
    {
      key: '3',
      label: `微信小程序`,
      children: `Content of Tab Pane 3`,
    },
    {
      key: '4',
      label: ` H5`,
      children: `Content of Tab Pane 3`,
    },
    {
      key: '5',
      label: `PC`,
      children: `Content of Tab Pane 3`,
    },
    {
      key: '6',
      label: `APP`,
      children: `Content of Tab Pane 3`,
    },
  ];
  return (
    <Tabs defaultActiveKey="1" items={items} />
  )
}

export default Index